package service;

import java.util.List;

import dao.IdeaReplayDao;
import entity.IdeaReplay;

public class IdeaReplayService {

	private IdeaReplayDao ideaReplayDao = new IdeaReplayDao();

	public void save(IdeaReplay ideaReplay) {
		ideaReplayDao.save(ideaReplay);
		
	}

	public List<IdeaReplay> findIdeaReplayByIdeaid(String id) {
		
		return ideaReplayDao.findIdeaReplayByIdeaid(id);
	}

	public void removeByideaid(String id) {
		
		ideaReplayDao.removeByideaid(id);
	} 
	
}
